package com.atguigu.jxc.service;

import com.atguigu.jxc.entity.PurchaseVO;
import com.atguigu.jxc.entity.PurchaseVO2;
import com.atguigu.jxc.entity.SaleList;

import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.Map;

/**
 * @author WZhaokang
 * @date 2020/12/30 1:27
 */
public interface SaleListService {
    void save(SaleList saleList, String saleListGoodsSt, HttpSession session);

    List<SaleList> list(String saleNumber, Integer customerId, Integer state, String sTime, String eTime);

    void delete(Integer saleListId);

    void updateState(Integer saleListId);

    List<PurchaseVO2> count(String sTime, String eTime, Integer goodsTypeId, String codeOrName);

    List<Map> getSaleDataByDay(String sTime, String eTime);

    List<Map> getSaleDataByMonth(String sTime, String eTime);
}
